Work Load Scheduling For Multi Core Systems With Under-Provisioned Power Delivery

ABSTRACT

A real-time workload scheduling heuristic assigns tasks to the cores such that the total load current consumption of the cores is always less than the total current capability of the under-provisioned on-chip voltage regulators. In addition, the energy-efficient scheduling of the tasks on to the cores ensures that the reconfiguration of the power delivery network is minimized. The heuristic includes DVFS management based on the unique constraints of the under provisioned voltage regulators.

BACKGROUND

Energy efficiency has emerged as a critical design parameter in multi-core or chip multi-processor (CMP) systems. Low power workload scheduling on heterogeneous processors is a widely researched field but the existing workload schedulers ignore the power lost in the DC-DC converters delivering regulated power supply to the cores.

The conventional method used to design the power delivery network may be over-provisioned by at least an order of magnitude of the maximum output current rating of the below-described on-chip voltage regulators (OCVRs). Looked at another way, the power rating and the design topology of the OCVR is selected based on the maximum possible power consumption of the load circuit.

With the paradigm shift in computing systems from performance oriented design to energy efficiency, considerable research effort has focused on optimizing the core configuration by reducing the over-provisioning of the core resources. Little attention, however, is given to the reduction in the over-provisioning of the circuits delivering power to the cores. Conventionally, the voltage regulator and power conditioning circuits are off-chip. The power consumption and the footprint of the voltage regulators and the conditioning circuits is therefore not a concern while optimizing the power delivery to the core(s).

The introduction of chip multi-processors (CMPs) resulted in new challenges in the delivery of power to the multiple cores. Providing low latency, per-core dynamic voltage and frequency scaling (DVFS) is challenging with off-chip voltage regulators. The power supply voltage regulation is also reduced due to longer on-chip interconnects connecting the off-chip VR to the multiple load circuits. On chip voltage regulators (OCVRs) have been researched and successfully introduced in commercial multi-core systems in Intel 4th generation processors as well as IBM POWER8 servers. The choice of OCVR topology is dependent on several factors including system level parameters such as the optimal power conversion efficiency and maximum load current consumption as well as the physical design of the passive components. System level tools such as a power virus or McPAT may be used to determine a first order estimate of the peak power consumption of the cores, which is typically overestimated. As a result, the OCVR and the power delivery network are over-provisioned to support a peak load current larger than what is consumed by the cores.

Recent work has attempted to improve the energy efficiency of multi-core and many-core systems by reconfiguring the power delivery network according to the power demand of the work load. For example, an RPDN using switched capacitor volt age regulators (SCVRs) and cross bar switches may serve 8 cores. The RPDN includes 32 cells, where each cell is an SCVR capable of supporting two voltage step down conversions (2:1 and 3:2). The simulation results indicate that the reconfigurable power delivery network offers 40% energy savings as compared to a configuration with per core voltage regulators. The switched capacitor voltage regulators offer 80% power conversion efficiency. This work does not address the inferior voltage regulation offered by the SCVRs.

A run time reconfigurable voltage regulator network of buck converters may also be used to improve efficiency. The lowest energy consumption across various DVFS levels is determined by solving an integer linear programming (ILP) problem. The timing penalty to set the switching network may not be not quantified and the ILP is solved for discrete DVFS timing penalties ranging from 5% to 15%. An off-chip buck converter (LTC3816) SPICE model may be used instead of an OCVR model, although the OCVR may offer an order of magnitude faster voltage response time under DVFS.

An RPDN for 3-D many-core systems may also be used. Single input multiple output buck converters supply power to the many-core system. The energy optimization problem across DVFS operating points (voltage and frequency pairs) may be addressed through ILP formulation.

Further, clustering of voltage regulators to boost the energy efficiency of the system may be used, but such solutions currently ignore the variation in the power conversion efficiency (PCE) of the voltage regulators due to dynamic voltage and frequency scaling. Ignoring the PCE variation of the voltage regulators may lead to suboptimal workload mapping and therefore a large penalty on the energy savings possible with DVFS.

Recent work on RPDNs does not offer an analysis of the deterioration in the response time of the power delivery system due to the search and decision time needed to flip the requisite number of switches and reconfigure the connections between the cores.

SUMMARY OF THE EMBODIMENTS

Apart from increased energy efficiency, power delivery through OCVRs offers several benefits such as reduced latency to apply dynamic voltage and frequency scaling (DVFS), point of load power delivery with minimal power supply noise, and reduced I/O pin count devoted to power and ground signals. The peak power consumption and worst case power supply noise transient in a CMP determine the design of the power delivery system.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an interconnected on-chip power delivery network.

FIG. 2 shows the power consumption of the Exynos big.LITTLE cores with frequency based on the model given by Equation 2.

FIG. 3 shows the variation in power conversion efficiency with load current.

FIG. 4 shows a percentage of tasks successfully partitioned by the M-PWR heuristic and successfully scheduled by Algorithm 1 in a 16 core homogeneous CMP.

FIG. 5 shows a contour plot of percentage of tasks successfully scheduled by Algorithm 1 with varying taskset utilization and maximum output current of the voltage regulators in a homogeneous CMP with 16 cores.

FIGS. 6(a) and 6(b) show a snapshot of the task assignment on a heterogeneous CMP platform with (a) big cores modeled on A15 parameters, and (b) LITTLE cores modeled on A7 parameters. The maximum output currents of the voltage regulators serving each of the big cores and LITTLE cores are, respectively, 800 mA and 110 mA.

FIG. 7 shows a statistical analysis of the per cycle power consumption of the SPEC CPU 2000 and SPEC CPU 2006 benchmarks.

FIG. 8 shows a second proposed interconnected on-chip power delivery network.

FIGS. 9(a) and 9(b) show simulated results of the implementation of Algorithm 2.

FIG. 10 shows a circuit schematic of a buck converter with multiple phases of the filter circuit, MOS power transistors, and cascaded buffers.

FIG. 11 shows a graph showing the variation in the PCE with the output current for the two buck converters.

Table 1 shows Frequency (MHz) and Voltage (V) pairs used by the DFVS procedure in Algorithm 1. The bold values listed in the table are the nominal voltages and frequencies.

Table 2 shows parameters of the CMP cores derived from the Samsung Exynos 5410 big.LITTLE architecture.

Table 3 shows Operating values of the switching DC-DC buck converters [12] serving the ARM A15 and A7 cores.

Table 4 shows Parameters to generate real time periodic tasksets.

Table 5 shows architectural parameters of the core.

Table 6 shows simulation parameters of Algorithm 2.

Table 7 shows the circuit characteristics and power consumption of the components of the buck converters.

Table 8 shows the parameter values of the switching network and the PDN.

Algorithm 1 describes real time workload partitioning and scheduling on a many-core system with under provisioned OCVRs.

Algorithm 2 describes the switching control of the HSS fabric.

DETAILED DESCRIPTION OF THE EMBODIMENTS

1. Work Load Scheduling for Multi Core Systems with Under-Provisioned Power Delivery

1.1 Introduction

By under-provisioning the OCVRs to meet the typical or average need of the load circuits, the energy efficiency of the CMP system may be increased by up to 44%. A reconfigurable power delivery network 100 with run-time clustering of the outputs of the OCVRs 110 can be seen in FIG. 1, which shows an interconnected on-chip power delivery network 100. The on-chip power delivery network 100 may be in communication with an on-chip PMU 130, an off-chip VR 120, which as shown, is in communication with the OCVRs 110. The on-chip voltage regulators 110 are designed for a maximum output current equal to the average load current demand of workloads executed on the cores (Iavg) 140, to which they are connected via switches 150. An algorithm for run-time voltage regulator clustering through a switching fabric may be used to meet greater than Iavg load current demand.

An algorithm developed for run-time OCVR clustering is an example of supply side load management. The on-chip power management unit reconfigures the connections (switches 150) between the OCVRs 110 and the cores 140 to meet the changing load current demands of the cores 140. The run-time reconfiguration of the power delivery network 100 operates under a power constraint. The total power demanded at any time instant by the cores 140 is less than the total power delivery capability of the OCVRs 110. The power constraint is expressed mathematically in Equation 1 below for a CMP with N cores and N OCVRs. Isense_x and Vx are, respectively, the sensed load current and the operating voltage of each core x. I_(avg) and V_(dd m) are, respectively, the maximum output current and the maximum supported power supply voltage level of each OCVR.

$\begin{matrix} {{\sum\limits_{i = 1}^{N}\; {V_{x} \cdot I_{{sense}_{—}x}}} < {N \cdot V_{{dd}_{—}m} \cdot I_{avg}}} & {{Equation}\mspace{14mu} 1} \end{matrix}$

An energy optimized work load scheduling technique is described herein that relaxes the power constraint on the run-time OCVR clustering algorithm (Equation 1). The workload scheduler described herein may be a demand side load management technique. Workload schedulers may be classified into three categories: best effort scheduling, with acceptance test, and robust scheduling. The proposed heuristic imposes an acceptance test on each incoming task in the system and schedules it on to one of the cores if it meets the power constraint of the under-provisioned power delivery system. Workloads running on a CMP system may be either controllable loads with soft deadlines or non-controllable loads with hard deadlines. The rescheduling of controllable tasks reduces the energy consumption of the CMP system for a given scheduling cycle. Real time applications fall under the category of non-controllable loads as they impose a hard or firm deadline. In the case of non-real time tasks with soft deadlines and fixed priority, the tasks may violate the power constraint given by Equation 1 may be executed in the next scheduling cycle, leading to a performance penalty.

The energy consumed by a taskset on a processing element is a convex function of the computational capacity of the processing element and the task execution time. A convex energy optimization problem is solved to ensure the reliability of the proposed reconfigurable power delivery system with under provisioned on-chip voltage regulators. The optimization problem is constrained by the total power budget of the CMP and is limited to the peak current rating of the OCVRs. The feasibility of the solution, determined by solving the optimization problem, is demonstrated through a real time workload scheduling heuristic. The scheduler is applicable to homogeneous and heterogeneous CMPs.

1.2 System Model and Notations

The under-provisioned CMP system 100 includes a set of processing elements or cores 140 and per-core on-chip voltage regulators. The models constructed for the core architecture, CMP platform, voltage regulators, real time periodic tasks, and the power consumption of the cores are described in Subsections 1.2.1 through 1.2.4.

1.2.1 System Models

CMP systems with homogeneous core configurations as well as heterogeneous configuration were developed to analyze the work load scheduler. The homogeneous CMP may include processing elements based on the ARM A15 core integrated in the Samsung Exynos 5410 platform. The parameters used in constructing a 16 core homogeneous CMP platform are listed in Table 2. An eight core heterogeneous CMP with four ARM A15 and four A7 cores from the Exynos 5410 platform were also evaluated. The DVFS levels applied to the cores are listed in Table 1. The variation in the power consumption of the core with frequency, based on the power model given by Equation 2 and validated, is shown in FIG. 2

1.2.2. Power Model

The power consumption of a processing element πj may be approximated as a function of frequency. The power consumed by any processing element is given by Equation 2. The κ*f̂α and β terms in Equation 2 represent, respectively, the dynamic and static power consumption of the cores. The model parameters κ, α, and β for the Samsung Exynos A15 and A7 processors may be used to validate Algorithm 1. The power consumption with frequency using the estimated model parameters is shown in FIG. 2.

P(f)=κ*f ^(α)+β  Equation 2

1.2.3 Voltage Regulator Models

An on-chip power delivery network with per core voltage regulation may be considered for the CMP platform. The on-chip voltage regulators (OCVRs) may be modeled as DC-DC switching conversion efficiency based on the power consumption of the A15 and A7 cores (shown in FIG. 2). Certain parameters of the buck converters for both the big and LITTLE cores are listed in Table 3. FIG. 3 shows the variation in power conversion efficiency with load current.

1.2.4 Real-Time Periodic Task Model

The real-time workloads may be modeled as a set of independent periodic tasks τi ∈ T to be scheduled on a subset of cores of a many-core system πj ∈ Π. Each task τi has a hard deadline of Di. Each core πj supports distinct DVFS levels Vx ∈ [Vdd_a, Vdd_2, . . . Vdd_m] and fx ∈ [f1, f2 . . . , fm]. A task τi with a hard deadline Di may require at most Ci,j cycles to execute on a core πj at the highest supported voltage Vdd_m and frequency fm. The context switching overhead and overhead due to resource sharing amongst tasks that remain unresolved after task partitioning may be included in Ci,j. The computational capacity required by task τi on core πj may be defined as ui,j=Ci,j/Di. The subset of tasks Tj that are executed on core πj therefore require a total computational capacity of

$\begin{matrix} {U_{j} = {{\sum\limits^{\bigvee}}_{\tau_{i} \in T_{j}}\mspace{14mu} u_{i,j}}} & {{Equation}\mspace{14mu} 2.1} \end{matrix}$

cycles per second.

1.3 Optimal Workload Scheduling

An optimization problem may be defined to partition and schedule real time workloads on a many-core platform. A specific set of constraints unique to the proposed reconfigurable PDN may be considered, which account for the use of under provisioned on-chip voltage regulators. The objective of the optimization problem may be to minimize the energy consumption of the many core platform, including the power consumed by the OCVRs. The energy consumed by the system in a given scheduling period Tepoch is given by Equation 3, where P(Uj) is the power consumed by the core πj with computational capacity Uj to execute the scheduled task set, and PCEUj is the combined power conversion efficiency of the OCVR(s) supplying current to the core πj. The workload scheduling may be constrained by the total computational capacity available to execute the taskset Uj on πj, where the total capacity must exceed the computational demand of the taskset as given by Equation 4. In addition, the operating frequency must fall within the supported frequency range of the cores as given by Equation 5. The total power consumed by the cores at any time instant must be less than the combined maximum power supported by all OCVRs in the system as described by Equation 6.

$\begin{matrix} {\min\limits_{U_{j}}\mspace{14mu} {\sum\limits_{\pi_{j} \in \Pi}{\frac{P\left( U_{j} \right)}{{PCE}_{U_{j}}} \cdot T_{epoch}}}} & {{Equation}\mspace{14mu} 3} \\ {{s.t.\mspace{14mu} {\sum\limits_{\pi_{j} \in \Pi}U_{j}}} \geq {\sum\limits_{\tau_{i} \in T}u_{i}}} & {{Equation}\mspace{14mu} 4} \\ {f_{1.j} \leq U_{j} \leq {f_{m,j}\mspace{14mu} {\forall{\pi_{j} \in \Pi}}}} & {{Equation}\mspace{14mu} 5} \\ {{\sum\limits_{\pi_{j} \in \Pi}{P\left( U_{j} \right)}} < {N \cdot V_{{dd}_{—}m} \cdot I_{avg}}} & {{Equation}\mspace{14mu} 6} \end{matrix}$

1.4 Workload Scheduling Heuristic

A heuristic and method may perform the real time workload scheduling on the cores for the optimization problem developed in Section 1.3. The heuristic may include three procedures: PARTITION, DVFS, and SCHEDULE. The PARTITION procedure is an evolution of a Marginal Power Heuristic (M-PWR), which sorts the tasks in decreasing order of their computation demand and assigns them to cores such that each assignment leads to minimal increase in the power consumption of the core. The power consumed for executing a task with a finite deadline is proportional to the computation demand of the task. Optimal workload partitioning may be achieved by incrementing the load on each core (using, for example, a workload scheduler in the operating system) such that the constraint given by Equation 5 is not violated. For example, the tasks τi ∈ T may be first sorted in decreasing order of the maximum computational demand ui,j on cores πj ∈ Π. A task may be assigned to a core if the scheduling of the task results in the least increase in the power consumption. The output from the procedure is a scheduled taskset Θj on each core.

The DVFS procedure reduces the operating frequency and the voltage of the cores until the constraint given by Equation 6 is satisfied. The right hand side of Equation 6 is a constant value equal to the total power Ptotal of the CMP. Expressing the total power consumed by the cores with the power model given by Equation 2 in constraint Equation 6 may provide a limit to the operating frequency of the cores raised to the power (refer to constraint in Equation 8). The use of the DVFS procedure results in the optimal frequency of operation for each core by solving the bounded knapsack problem. (The knapsack problem is a problem in combinatorial optimization: Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible. It derives its name from the problem faced by someone who is constrained by a fixed-size knapsack and must fill it with the most valuable items. The problem often arises in resource allocation.)

The deadline of each task in the taskset Θj is analogous to the value of the item in the knapsack. The required computational demand at a given frequency fj on processor πi is ui, fj. The weight added to the knapsack is analogous to ui, fj. The objective of the knapsack problem is to maximize the number of tasks executed on a core, without violating the task deadline. The procedure lowers the operating frequency of each task until constraints Equations 7 and 8 are satisfied. Once the operating frequency of each task in Θj is determined, the SCHEDULE procedure schedules the tasksets on each core based on an earliest deadline first policy.

$\begin{matrix} {{\sum\limits_{\tau_{i} \in \Theta_{j}}\mspace{14mu} u_{i,f_{j}}} \leq f_{m}} & {{Equation}\mspace{14mu} 7} \\ {{\sum\limits_{\pi_{j} \in \Pi}f_{j}^{\alpha}} \leq {\left( {P_{total} - {N \cdot \beta}} \right)\text{/}k}} & {{Equation}\mspace{14mu} 8} \end{matrix}$

1.5 Simulation Results

Real time periodic tasks with implicit deadlines were considered to determine the efficacy of the proposed task scheduler. The task scheduling is performed for one hyperperiod of the taskset Tepoch, which is the least common multiple of the implicit deadlines of all tasks τi ∈ T. The tasks were generated with the parameters listed in Table 4. The computational capacity (uij) of the tasks is selected as a random variable with a uniform distribution between 0.1× to 0.9× the maximum supported operating frequency of the cores in the CMP (maximum frequency fm of 1800 MHz). The total computation time requested by the taskset in a hyperperiod was less than the available time on the processing elements to prevent system overload. This ensured that the taskset utilization factor or the system load is less than 1 (p<1).

The resulting task schedule, from execution of Algorithm 1 on a homogeneous CMP platform with 16 cores configured as Exynos 5410 A15s, is shown in FIG. 4. The task scheduling is constrained due to the limited power budget of the under-provisioned voltage regulators. For a maximum output current Iavg of 1 A, the percentage of tasks scheduled by Algorithm 1 is identical to the M-PWR heuristic. The execution of Algorithm 1 is further characterized on a homogeneous platform with voltage regulators of varying maximum output current Iavg. The results are shown through the contour plot in FIG. 5. The percentage of tasks scheduled for a given taskset utilization factor decreased as the maximum output current of the voltage regulators was reduced. For a voltage regulator designed with a maximum output current Iavg of 0.7 A, the percentage of tasks scheduled matched the M-PWR heuristic up to a taskset utilization factor ρ of 0.65.

The workload scheduler was also evaluated on a heterogeneous CMP platform with four Exynos A15 (big) and four Exynos A7 (LITTLE) cores. For a randomly chosen taskset hyperperiod, the task distribution and corresponding computational demand (ui,j of each task) is shown in FIGS. 6(a) and 6(b). There were 11 tasks assigned to the big core cluster and five to the LITTLE core cluster. The maximum output current of the voltage regulators serving each of the big cores was set to 800 mA and the voltage regulators serving each of the LITTLE cores to 110 mA. The frequency assigned to each core to meet the constraint given by Equation 8 was determined and shown in the FIGS. 6(a) and 6(b). Depending on the total computational demand of the tasks assigned to each core, the frequency is lowered from the maximum supported frequency of 1800 MHz for the big cores and 1200 MHz for the LITTLE cores. The task partitioning performed by the PARTITION procedure further improves power efficiency by preferentially assigning tasks to the LITTLE cores, which meet the task utilization constraint given by Equation 4.

Consequently, for an identical scaling factor of the peak output current of the OCVRs (Iavg/Ipeak) serving the LITTLE core and the big core, the percentage of tasks scheduled through the DVFS procedure is lower for the LITTLE cores as compared to the big cores. As the LITTLE core cluster has a load current range of 100 mA, the scaling factor of the maximum output current of the voltage regulators serving the LITTLE cores is set to a larger value than that for the big cores to achieve a high task schedulability on the heterogeneous platform.

The task scheduling results on the homogeneous and heterogeneous CMP platform demonstrate that the proposed workload scheduler in tandem with the runtime on-chip voltage regulator clustering algorithm], offer an efficient and robust cross layer energy optimization mechanism for CMPs with under provisioned on-chip voltage regulators.

2. Load Balanced On-Chip Power Delivery for Average Current Demand Architecture

2.1 Introduction

A further interconnected on-chip power distribution network is modeled, and in particular, an architecture therefore. Rather than a static configuration designed for the worst case power consumption of the cores, a work load aware reconfigurable power delivery system, similar to the one above in some respects, follows. A detailed statistical analysis of the cycle accurate power consumption profile of workloads executed on a CMP system has been performed with results also described below.

Each OCVR may be designed to support a peak current rating equal to the average load current Iavg consumed across all workloads. SPICE simulations indicate that by reducing the peak current rating of the OCVRs to support Iavg, the energy efficiency of the CMP improved and the on-chip area occupied by the OCVRs may be reduced. A load balancing algorithm may further be developed for dynamic power management. The algorithm may be executed on the on-chip power management unit (PMU), and may be capable of reconfiguring the power delivery network (PDN) to combine the outputs of multiple OCVRs to support load currents in excess of Iavg.

2.2 Power Dissipation Behavior of Applications on a CMP System

The cycle dependent power dissipation of the workloads executing on a CMP system provide insight to optimize the design of the PDN. Workloads which are computation intensive consume higher power during CPU bound phases of the application, but the maximum power consumed is considerably lower than the peak power consumption of a well-developed power virus. A detailed power trace analysis of the SPEC2000 and SPEC2006 benchmark suite was performed to obtain realistic power consumption statistics of the workloads. A 16-core CMP in 45 nm technology was modeled using a processor architectural simulator. McPAT was integrated in the simulator to analyze the power consumption of the core. Each core included a 2-way issue and out-of-order execution unit. The micro-architectural parameters of the core used in the simulations are summarized in Table 5.

Each of the 49 benchmarks from the SPEC benchmark suite were simulated at four different timing intervals to cover multiple execution phases. The simulations were run for 10K cycles per time interval. The dynamic and static power consumption was sampled cycle by cycle through McPAT. The statistical dispersion of the per cycle power consumption of different SPEC benchmarks with single phase forwarding is shown through a box plot in FIG. 7. The interquartile range for all the studied benchmarks falls approximately an order of magnitude below the peak power (Ppeak) consumption of 5.73 W reported through McPAT simulations. The number of outliers beyond 5σ coverage for each benchmark was an insignificant fraction of the sample size. The combined power dissipation characteristics of all the 49 benchmarks was as follows: The minimum, average, and maximum power consumption was, respectively, 0.175 W, 0.555 W, and 4.755 W. The power dissipation of the applications is between 0.3 W and 0.5 W for approximately 65% of the execution time. The minimum, average, and maximum power dissipation variation per clock cycle was, respectively, 0 W, 0.195 W, and 4.333 W. The power variation is less than 0.1 W for 90% of the time. The studied benchmarks spend 78% of the run-time consuming less than the average power. The maximum power consumption of 4.75 W across all benchmarks was consumed for a very small percentage of the run time (7.5*10̂−5%).

2.4 Proposed Design of the Delivery Network

Significant work has been done to optimize the core configuration, work load mapping, and dynamic/static clustering of the cores in a CMP system, but the energy and area loss incurred due to the integration of over-provisioned VRs has been overlooked. In the proposed power delivery system, the loadline of the OCVR serving each core or cluster of cores is designed for the average current (Iavg) consumed. Designing the OCVR loadline around Iavg reduces the peak voltage demand on the OCVR and significantly decreases the maximum supported load current. The block representation of the power delivery network 800 is shown in FIG. 8, which is similar to FIG. 1. For a CMP system including N cores 840 or core clusters, N OCVRs 810 provide the regulated power. In the proposed PDN, if the OCVR 810 serves a cluster of n identical cores 840, the power rating of the OCVR 810 is n Iavg. The output of each OCVR 810 may be connected to the inputs of a high-speed switching (HSS) fabric 870 through switches 850. The N outputs of the HSS fabric 870 are connected to the local PDN grid of the N cores 840 or core clusters. The HSS fabric 870 may be controlled by the power management unit (PMU) 830. The interconnected power delivery network 800 shown in FIG. 8 may provide increased service reliability as compared to conventional on-chip power distribution with a single OCVR 810 serving a single core. In addition, the interconnected network provides opportunity to balance load currents through reconfiguration of the switches 850.

2.4.1 Load Balancing Through Run-Time OCVR Clustering

A technique to deliver currents higher than Iavg is described in this section. Current sensors 860 placed in each core 840 may be constantly monitored by the PMU 830. A current sensor 860 such as a high-side bi-directional current sense circuit may be used. The sensor 860 monitors the voltage developed across an external sense resistor to represent the high-side current of the voltage regulator. When the sum of the currents sensed from all cores 840 within a cluster (Isense) reaches a threshold (ΔI) below Iavg, the PMU 830 configures the HSS 870 to source additional current from the OCVRs 810 which are located nearest to the cluster and are sourcing current less than Iavg. The logic controlling the HSS fabric within the PMU 830 may operate on two system parameters; the Vdd levels and the total load current sensed from each core cluster. The analysis of the power consumption provided in Section 2.2 indicates that the probability of the load current demand exceeding Iavg is 22%. As a result, there is always more than one core operating at or below Iavg. The PMU 830 may be provisioned to add at least one additional OCVR 810 to serve a core requiring current higher than Iavg. The sum of the decision time of the PMU 830 and the time to reconfigure the switches 850 must be less than or equal to the load current transient response time (current slew-rate) of an OCVR 810 with a current rating of Ipeak to ensure an uninterrupted power supply to the core cluster.

The switching control of the HSS fabric 870 is described by Algorithm 2. Algorithm 2 may be implemented in the Python programming language and is analyzed with the parameters summarized in Table 2. A stochastic model of the current consumption of the cores in a CMP system is developed based on the statistical parameters captured from the per cycle power consumption analysis of the SPEC benchmarks. The load current obtained from the stochastic model for 1000 CPU cycles across 16 cores is shown in FIG. 9(a). The peak current rating of each OCVR is set to 0.6 A (Ipeak), which is one order of magnitude less than the Ipeak obtained through McPAT. The active switches required to support the run-time load current variation on each core for 1000 CPU cycles are shown in FIG. 9(b). A generic statistical load current model is also analyzed through Monte Carlo simulations with a maximum possible value of Ipeak. Four DVS levels, listed in Table 6, are selected corresponding to the core configuration provided in Table 5.

2.4.2 Energy Efficiency of CMP System

The switching DC-DC buck converter may offer superior power supply voltage regulation and is therefore an optimum choice to power the cores. The circuit implementation of a buck converter includes a switching network and a passive low pass filter. The inductor in the low pass filter acts as a low-loss energy transfer device which improves the power conversion efficiency. The power control efficiency (PCE) of the buck converter is analyzed for changes with the peak load current rating. The goal is to analyze the impact on the energy efficiency of the CMP when designing the OCVRs to support only the average load current demand of the cores.

2.4.2.1 Power Conversion Efficiency

The power consumed by the buck converter (Pbuck) is given by Equation 9. The Pmos, Pind, Pcap, and Ppwm are the power loss in, respectively, the MOS power transistors and the cascaded buffers driving them, the inductor and capacitor of the filter circuit, and the pulse width modulator circuit.

P _(buck)=

+

+P _(cap+)

  Equation 9

The power consumed by the filter circuit, power transistors, and the buffers driving them may increase with the maximum supported output current of the buck converter. Alternatively, multiple phases may be used to drive higher output currents. The circuit schematic of a buck converter 1000 with multiple phases of the filter circuit, MOS power transistors, and cascaded buffers is shown in an overview in FIG. 10. The multiple phase implementation of the buck converter may improve the power conversion efficiency and relax the design considerations for the LC filter and the power transistors driving the filter. The total load current pulled from the buck converter may be equally divided across the phases. The reduced current requirement per phase may lead to a reduction in the size and, therefore, the power dissipation of the filter and switching components. In addition, due to the ripple current cancellation across the filter output of the multiple phases, the output voltage ripple of a multi-phase buck converter may be smaller than a larger single-phase buck converter designed to support the peak current demand of the load.

Two custom buck converters with maximum output current ratings of 6 A and 0.6 A may be implemented. The two converters represent voltage regulators that support the Ipeak and Iavg currents of a CMP with core parameters as listed in Table 5. The circuit characteristics and power consumption of the components of the buck converters are listed in Table 7. The buck converter with a maximum output current rating of 0.6 A consumes 22.65 mW, which is 3.3% of the power consumed by the over-provisioned buck converter. The on-chip implementation of the two buck converters yields similar ratios between the power consumed by each passive component, although at a higher switching frequency to reduce the size of the filter inductor and capacitor.

The large reduction in the power dissipation of the buck converter achieved by reducing the peak load current rating results in an improvement in the PCE. Although the overprovisioned buck converter offers a peak PCE of 89.7% at an output current of 6 A, the reduction in the PCE with decreasing output current is significant. The variation in the PCE with the output current for the two buck converters is shown in FIG. 5. The typical workloads executed on the CMP (with the core configuration listed in Table 5) consume currents in the range of Iavg and therefore the buck converter with an output rating of 0.6 A offers a higher average PCE for a majority of the run-time of the workloads.

2.4.2.2 Improvement in Energy Efficiency

The total energy consumption of a CMP system implemented with a conventional PDN for a given execution time Tepoch with N cores and N OCVRs is given by Equation 10. The cores are served by over-provisioned OCVRs similar to the buck converter with a maximum output current of 6 A. The dynamic and static power consumed by the cores in the presence of DVFS are given by Pdynamic and Pstatic, respectively.

PCE1 represents the power conversion efficiency of the overprovisioned OCVR. At low load currents close to Iavg, the P CE1 offered by the over-provisioned buck converter is 87%. Alternatively, if the power delivery system is designed with each core supported by a buck converter that supplies a maximum output current of 0.6 A, the achieved PCE2 at Iavg is 96.36%. In addition, the static power consumed by idle cores or core clusters is close to zero as power gating through the HSS fabric is performed. The HSS fabric, however, imposes an additional switching loss Pswitch, which is the dynamic power consumed by the PMOS transistors while switching, and a conduction loss Pconduction while in the ON state and passing the average current Iavg.

$\begin{matrix} {E_{{CMP},{conventional}} = {\left\{ {\sum\limits_{i = 1}^{N}\; \frac{\left( {P_{{dynamic}_{—}i} + P_{static}} \right.}{{PCE}_{1}}} \right\} \cdot T_{epoch}}} & {{Equation}\mspace{14mu} 10} \end{matrix}$

The total energy consumed by the CMP with N OCVRs, where each OCVR is designed for an Iavg rating, and N×(N1) PMOS switches is given by Equation 11 The parameters j, k, and l are, respectively, the number of active cores consuming current below Iavg, the number of active core(s) consuming current above Iavg, and the number of idle core(s) power gated through the HSS network. In the case of idle cores, the power consumed by the OCVRs (POCVR,leakage) is the only component contributing to the system energy. As described in Section 2.2, applications consume current less than Iavg for about 78% of the time. The Pswitch loss is therefore incurred for 22% of the execution time of the workloads when the load current demand exceeds Iavg.

$\begin{matrix} {{E_{{CMP},{proposed}} = {\sum\limits_{i = 1}^{T_{epoch}}\; \left\{ {{\sum\limits_{i = 1}^{j}\; \frac{\left( {P_{{dynamic}_{—}i} + P_{static}} \right)}{{PCE}_{2}}} + {\sum\limits_{i = 1}^{k}\; \frac{\left( {P_{{dynamic}_{—}i} + P_{static} + P_{switch} + P_{conduction}} \right)}{{PCE}_{2}}} + {\sum\limits_{i = 1}^{l}\; P_{{OCVR},{leakage}}}} \right\}}};{{j + k + l} = N}} & {{Equation}\mspace{14mu} 11} \end{matrix}$

Circuit simulations of a PDN designed to support the Iavg for each of the 16 cores are performed to determine the energy consumption as given by Equation 11. The 16 cores are simulated as piecewise constant current sinks. The current variation with time for the 16 current sinks is shown in FIG. 9(a). A 16×15 PMOS switching network may be implemented in a 45 nm technology. The gates of the PMOS switches may be controlled through time varying voltage signals. The Pswitch and Pconduction for the PMOS switch with an output capacitance provided by a single core is determined through SPICE simulations. The Pstatic and Pdynamic of a core is measured through McPAT. The Pdynamic for each core is overestimated as the power consumption per clock cycle is captured at the highest supported DVS level of 1 V. The parameter values of the switching network and the PDN are summarized in Table 8.

The additional switching and conduction losses due to the PMOS switches are an insignificant fraction of the total power consumed by the CMP as both are only consumed when the PDN is reconfigured to combine the outputs of the OCVRs. The energy consumption of the proposed power delivery system is up to 44% less than the energy consumed by the CMP with over-provisioned OCVRs and PDN. On average, there is a 15% reduction in the energy consumption as shown through simulations of the proposed PDN with a stochastic load current modeled on the SPEC benchmark power traces shown in FIG. 7. By reducing the maximum rating of the OCVR (buck converter), the percentage reduction in the energy consumed for a core sinking current less than Iavg is 36%. The reduction in energy is due to the optimal PCE offered by the buck converter at the maximum output current supported. The energy efficiency of the CMP may therefore be improved by designing the power delivery system to support the average current demand of the cores. In addition, if a system level workload mapping technique is applied to distribute identical workloads on a cluster of cores, serving the core cluster with one OCVR that implements DVFS is advantageous to further reduce the energy consumption.

2.4.3 Technique to Prevent System Failure

The power consumption analysis of the different workloads provided in Section 2.2 and the construction of the PDN in Section 2.3 functions so that there is always an OCVR available in the CMP system to support core(s) demanding higher than the average current(s). In the unlikely event that an OCVR is not located to support the higher than average current requirement of a core, the core may be stalled by the PMU until an OCVR becomes available for clustering. The probability of not finding an OCVR for clustering is low when an efficient workload mapping technique is implemented. The performance penalty due to stalling the core is therefore negligible.

While the invention has been described with reference to the embodiments above, a person of ordinary skill in the art would understand that various changes or modifications may be made thereto without departing from the scope of the claims. 

1. A multi-core system comprising: multiple on-chip voltage regulators (OCVRs); multiple cores; a high speed switching (HSS) fabric connecting multiple OCVRs to the multiple cores in order to provide current between the multiple OCVRs and multiple cores when switches within the HSS fabric are closed; and a power management unit (PMU) that controls the HSS fabric; wherein in response to one or more of the multiple cores requiring a current greater than a current capability being provided by one or more of the multiple OCVRs connected thereto, the PMU provides additional current by connecting additional of the multiple OCVRs to the one or more of the multiple cores that require additional current.
 2. The multi-core system of claim 1, wherein a loadline of one of the multiple OCVRs serving one of the multiple cores is designed for an average current (Iavg) consumed by the one of the multiple cores.
 3. The multi-core system of claim 2, wherein when the loadline is designed for Iavg, peak voltage demand on the OCVR is reduced and there is a decrease in a maximum supported load current of the core.
 4. The multi-core system of claim 2, wherein the multiple cores include current sensors.
 5. The multi-core system of claim 4, wherein the current sensors are monitored by the PMU.
 6. The multi-core system of claim 5, wherein when a sum of currents sensed from multiple cores within a core cluster (Isense) reaches a threshold below Iavg, the PMU configures the HSS fabric to source additional current from the OCVRs that are located nearest to the core cluster and are sourcing current less than Iavg.
 7. The multi-core system of claim 1, wherein the PMU controls the HSS fabric using a control heuristic comprising three procedures: a partition procedure, a DVFS procedure, and a schedule procedure.
 8. The multi-core system of claim 7, wherein the partition procedure uses a Marginal Power Heuristic (M-PWR) that sorts tasks in decreasing order of their computation demand and assigns the tasks to one or more of the multiple cores such that each assignment leads to minimal increase in a power consumption of each core.
 9. The multi-core system of claim 8, wherein power consumed for executing a task with a finite deadline is proportional to the computation demand of the task.
 10. The multi-core system of claim 9, wherein an optimal workload partitioning between multiple cores is achieved by incrementing a load on each core.
 11. The multi-core system of claim 7, wherein the DVFS procedure reduces a voltage of the multiple cores until a constraint is satisfied.
 12. The multi-core system of claim 7, wherein an optimal workload partitioning between multiple cores is achieved by incrementing a load on each core using a workload scheduler in an operating system.
 13. The multi-core system of claim 12, wherein once an operating frequency of a task from a taskset to be performed by the system is determined, the schedule procedure schedules the task on each core based on an earliest deadline first policy compared to others of the tasks in the taskset.
 14. The multi-core system of claim 1, wherein the PMU monitors a current load on the cores through sensors.
 15. The multi-core system of claim 1, wherein the OCVRs are DC-DC buck converters.
 16. A dynamic power management system for multi-chip processors comprises on chip switching buck converters that are interconnected through a switch network, wherein a peak current rating of the buck converters is selected to meet an average current demand of a load circuit.
 17. The dynamic power management system of claim 16, wherein the current demand of the load circuit is sensed using current sensors in a core.
 18. The dynamic power management system of claim 16, wherein a power management unit (PMU) manages the switch unit based on data received from current sensors in a core.
 19. The dynamic power management system of claim 16, wherein the PMU controls the switch network using a control heuristic comprising three procedures: a partition procedure, a DVFS procedure, and a schedule procedure.
 20. The dynamic power management system of claim 16, wherein an optimal workload partitioning between multiple cores on the circuit is achieved by incrementing a load on each core using a workload scheduler in an operating system. 